package com.jxgm.spring.boot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Administrator
 * @date 2020/10/14 8:07
 * @description
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Emp {
    private Integer empId;
    private String empName;
    private String email;
    private Integer gender;
    private Department department;
    private Date date;

    public Emp(int empId, String empName, String email, int gender, Department department) {

        this.empId = empId;
        this.empName = empName;
        this.email = email;
        this.gender = gender;
        this.department = department;

    }
}
